﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pollux.Interpreter.Interface;
using Pollux.Interpreter.Venus2.Aspects;

namespace Pollux.Interpreter.Venus2.Syntax
{
	public class AxisPart : ISyntaxPart
	{
		#region ISyntaxPart Members		
		/// <summary>
		/// Gets or sets the value and validates the Range 1-99.
		/// And -1 to -65536 for mutliadressing axis by oring masks, that will 
		/// match with the bitindex. First bit is axis 1. Second bit is axis 2 and so on.
		/// </summary>
		/// <value>The value.</value>		
		[BitmaskValidatorAspekt(Min = 1, Max = 99, MaskMin=-1, MaskMax=-65536)]
		public string Value { get; set; }

		#endregion
	}
}
